package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipRegularCheckPlan;
import cc.comac.mom.bean.EquipRegularCheckPlanBean;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipRegularCheckPlanService {
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/insert",method = RequestMethod.POST)
	public ResultBean insert(@RequestBody EquipRegularCheckPlan obj);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/insertBatch",method = RequestMethod.POST)
	public ResultBean insertBatch(@RequestBody List<EquipRegularCheckPlan> list);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/update",method = RequestMethod.POST)
	public ResultBean update(@RequestBody EquipRegularCheckPlan obj);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/deleteBatch",method = RequestMethod.POST)
	public ResultBean deleteBatch(@RequestBody List<EquipRegularCheckPlan>list); 
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/disableEquipReqularCheckByIds",method = RequestMethod.POST)
	public ResultBean disableEquipReqularCheckByIds(@RequestBody List<Long> list);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/selectByFields",method = RequestMethod.POST)
	public ResultBean selectByFields(@RequestBody EquipRegularCheckPlanBean obj);

	@RequestMapping(value = "/p/cs/EquipRegularCheckPlanService/planIssue",method = RequestMethod.POST)
	public ResultBean planIssue(@RequestBody List<Long> list);

}
